package com.open.capacity.answer.service;

import com.open.capacity.common.model.Comment;
import com.open.capacity.common.model.CommentPraise;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;

import java.util.Map;

public interface CommentService {
    PageResult findComment(Integer article, Map<String, Object> params);

    Result commentSubmit(Integer article, Comment comment);

    Result commentPraise(CommentPraise commentPraise);
}
